![]() | Sequence and Pick List Gene definition | Samples of Optimization | ![]() |
A Variables chromosome can have a variable number of genes added beneath it. Each individual gene can be of the specified type:
Tied attribute or variable: From the Knowledge Explorer, you can drag across any numeric type variable (attribute, variable or single array element) to hold the gene value.
Min value: Any value entered here will constrain the gene to remain at that value or above it. This value can also be adjusted using the exposed property. For example
@Assign costOpt.chromosomes[1].genes[1].min = 50
Max value: Any value entered here will constrain the gene to remain at that value or below it. This value can also be adjusted using the exposed property. For example
@Assign costOpt.chromosomes[1].genes[1].max = 5000